package com.jk.controller;

import com.jk.entity.ProjectEntity;
import com.jk.service.ProjectService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author 位佳生
 * @title: ProjectEntity
 * @projectName springboot_financial
 * @description: TODO
 * @date 2022/11/810:31
 */
@RestController
@RequestMapping("project")
public class ProjectController {
    @Autowired
    private ProjectService projectService;
    
    /*
    *
     * @Author 位佳生
     * @Description //TODO 根据项目id关联查询项目介绍信息
     * @Date 2022/11/8 10:41
     * @param propertyId: 
     * @return: com.jk.entity.ProjectEntity
     **/
    @RequestMapping("projectGetById")
    public ProjectEntity projectGetById(Integer propertyId){
        return projectService.projectGetById(propertyId);
    }
    
    
}
